# -*- coding: ISO-8859-1 -*-
#############################################
## (C)opyright by Dirk Holtwick, 2002-2007 ##
## All rights reserved                     ##
#############################################

__reversion__ = "$Revision: 238 $"
__author__    = "$Author: holtwick $"
__date__      = "$Date: 2008-06-26 20:06:02 +0200 (Do, 26 Jun 2008) $"

from xhtml2pdf.version import *

REQUIRED_INFO = """
****************************************************
IMPORT ERROR!
%s
****************************************************

The following Python packages are required for xhtml2pdf:
- ReportlabToolkit>=2.2 <http://www.reportlab.org/>
- HTML5lib>=0.11.1 <http://code.google.com/p/html5lib/>

Optional packages:
- pyPDF <http://pybrary.net/pyPdf/>
- PIL <http://www.pythonware.com/products/pil/>

""".lstrip()

#try:
#    from xhtml2pdf.command import *
#except ImportError, e:
#    import sys
#    sys.stderr.write(REQUIRED_INFO % e)
#    raise

__version__   = VERSION

"""
Structure of this module:

command.py
    Command line interface

context.py
    XXX

config.py
    All definitions for tags and CSS
    Access from here to default.css

document.py
    xxx

dom.py
    xxx

loader.py
    FileObject for handling URL and file access

objects.py
    Overloaded Reportlab objects

paragraph.py
    New implementation of paragraph flowable for RL

parser.py
    xxx

pdf.py
    Additional functions to join PDF using pyPdf

styles.py
    Interface to CSS parsing functions.
    Styles can be applyed on DOM.

tables.py
    XXX

tags.py
    XXX

utils.py
    Helper functions, mostly converters from string to higher level informations

version.py
    Version and copyright informations

"""
